package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName parking
 */
@TableName(value ="parking")
@Data
public class Parking implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 车辆id
     */
    private Integer vehicleId;

    /**
     * 停车场id
     */
    private Integer lotId;

    /**
     * 车位id
     */
    private Integer spotId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 停车时间
     */
    private Date createTime;

    /**
     * 结束时间
     */
    private Date endTime;

    /**
     * 0停车1结束
     */
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
